package com.sub.project.mall.domain;

import com.sub.framework.aspectj.lang.annotation.Excel;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import java.util.Date;

/**
 * 客户管理对象 oms_costmer
 * 
 * @author sub
 * @date 2020-08-23
 */
public class OmsCostmer
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String businessName;

    /** 用户电话 */
    @Excel(name = "用户电话")
    private String phone;

    /** 用户详细地址 */
    @Excel(name = "用户详细地址")
    private String address;

    /** 用户省份 */
    @Excel(name = "用户省份")
    private String province;

    /** 用户城市 */
    @Excel(name = "用户城市")
    private String city;

    /** 县/区 */
    @Excel(name = "县/区")
    private String county;

    /** 会员等级 */
    @Excel(name = "会员等级")
    private Long memberLevel;

    /** 用户类型（businees 直属客户，user 商家客户,商户、个体） */
    @Excel(name = "用户类型", readConverterExp = "b=usinees,直=属客户，user,商=家客户,商户、个体")
    private String customerType;

    /** 创建时间 */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createTime;

    /** 微信商家支付配置 */
    @Excel(name = "微信商家支付配置")
    private String wechatPayCode;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBusinessName(String businessName) 
    {
        this.businessName = businessName;
    }

    public String getBusinessName() 
    {
        return businessName;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setCounty(String county) 
    {
        this.county = county;
    }

    public String getCounty() 
    {
        return county;
    }
    public void setMemberLevel(Long memberLevel) 
    {
        this.memberLevel = memberLevel;
    }

    public Long getMemberLevel() 
    {
        return memberLevel;
    }
    public void setCustomerType(String customerType) 
    {
        this.customerType = customerType;
    }

    public String getCustomerType() 
    {
        return customerType;
    }
    public void setCreateTime(Date createTime) 
    {
        this.createTime = createTime;
    }

    public Date getCreateTime() 
    {
        return createTime;
    }
    public void setWechatPayCode(String wechatPayCode) 
    {
        this.wechatPayCode = wechatPayCode;
    }

    public String getWechatPayCode() 
    {
        return wechatPayCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("businessName", getBusinessName())
            .append("phone", getPhone())
            .append("address", getAddress())
            .append("province", getProvince())
            .append("city", getCity())
            .append("county", getCounty())
            .append("memberLevel", getMemberLevel())
            .append("customerType", getCustomerType())
            .append("createTime", getCreateTime())
            .append("wechatPayCode", getWechatPayCode())
            .toString();
    }
}
